<%@ Page Language="C#" MasterPageFile="~/Template/Default.master" AutoEventWireup="true" 
	CodeFile="CreateGallery.aspx.cs" Inherits="_Administration_CreateGallery" %>
<%@ MasterType VirtualPath="~/Template/Default.master" %>
<%@ Register TagPrefix="UC" TagName="FormErrorList" Src="~/UserControl/FormErrorList.ascx" %>


<asp:Content ID="BodyContent" ContentPlaceHolderID="BodyContent" runat="server">
	
	<form runat="server">
	    
	    <UC:FormErrorList ID="_FormErrorList" runat="server" />
	    
		<div class="admininputitem">
			<h2><asp:Label AssociatedControlID="_GalleryName" runat="server">Gallery name</asp:Label></h2>
			<input type="text" size="50" maxlength="100" id="_GalleryName" runat="server" />
		</div>
		
		<div class="admininputitem">
			<h2><asp:Label AssociatedControlID="_GalleryDate" runat="server">Gallery date (dd/mm/yyyy)</asp:Label></h2>
			<input type="text" size="14" maxlength="14" id="_GalleryDate" runat="server" />
			<input type="submit" value="Current date" onserverclick="SetCurrentDate" runat="server" />
		</div>
			
		<div class="admininputitem">
			<h2><asp:Label AssociatedControlID="_GalleryDescription" runat="server">Description</asp:Label></h2>
			<textarea cols="50" rows="4" id="_GalleryDescription" runat="server" />
		</div>
		
		<div class="admininputitem">
			<h2><asp:Label AssociatedControlID="_GalleryEnabled" runat="server">Enabled</asp:Label></h2>
			<input type="checkbox" id="_GalleryEnabled" runat="server" />
		</div>
		
		<div>
			<input type="submit" value="Create" onserverclick="CreateGallery" runat="server" />
			<input type="submit" value="Cancel" onserverclick="CancelCreate" runat="server" />
		</div>
	
	</form>
	
</asp:Content>